object t02 {
  def main(args: Array[String]): Unit = {
    val nums = Array(63, 96, 89, 75, 45, 11, 22, 33)
    for (i <- 0 until nums.length - 1){
      for (j <- 0 until nums.length - 1 -i){
        if (nums(j)>nums(j+1)){
          val temp=nums(j)
          nums(j)=nums(j+1)
          nums(j+1)=temp
        }
      }
    }
    println(nums.mkString(","))
  }
}
